<?php
namespace Admin\Controller;
use Admin\Controller;

class IndexController extends BaseController{

    public function index(){
        if (!$_GET['id']){
            $this->redirect(U('Login/index'));
        }else{
            $this->display();
        }
    }
}
